<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.prime.com.tr/ui"
                template="/pages/templates/template-main.xhtml">
    <ui:define name="head"></ui:define>
	<ui:define name="body">
        <h:form>
            <h:outputText id="counter" value="#{counterBean.counter}" />
    
            <h:commandButton value="Count" actionListener="#{counterBean.increment}" />
	</h:form>
	</ui:define>

</ui:composition>